package com.rao.quartz.config;

import com.rao.entity.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: raoguang
 * @Date: 2022/05/27/16:18
 * @Description:
 */
@Configuration
public class testConfig {

    @Bean
    public User getUser() {
        User u = new User();
        u.setName("this is user");
        return u;
    }

    @Bean
    public User getUser2() {
        User u = new User();
        u.setName("this is user2");
        return u;
    }

    @Bean
    public User getUser3() {
        User u = new User();
        u.setName("this is user");
        return u;
    }

    @Bean
    public User getUser4() {
        User u = new User();
        u.setName("this is user2");
        return u;
    }

}
